show ip route preference

Display the IP route preference information.

Syntax

Command Parameters

vrf WORD<1-16>
Specifies a VRF instance by VRF name.
vrfids WORD<0-512>
Specifies a VRF instance by VRF number.

Default

None

Command Mode

User EXEC

Command Output

The show ip route preference command displays the following information:

Output field

Description

PROTOCOL

Specifies the protocol.

DEFAULT

Specifies the default for the protocol.

CONFIG

Specifies the preference value for the specified protocol.

Example

The following example displays IP route preference information.

Switch:1>#show ip route preference
============================================================
              IP Route Preference - GlobalRouter
============================================================
PROTOCOL        DEFAULT    CONFIG
------------------------------------------------------------
LOCAL           0          0
STATIC          5          5
ISIS-INTERNAL   7          7
OSPF_INTRA      20         20
OSPF_INTER      25         25
EBGP            45         45
RIP             100        100
OSPF_E1         120        120
OSPF_E2         125        125
ISIS-EXTERNAL   130        7
IBGP            175        175